<?php
namespace bee;

class gr_usr extends DAO
{	public $id;
	public $group_id;
	public $user;

}

function getGrKors($field='type_name')
{	$row = new gr_kor();
	$rs = new rowSet('gr_kor', $row);
	$retArr = array();
	while ($rs->getRow($row))
	{	$retArr[$row->id] = $row->$field;
	}
	return  $retArr;
}
